/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Main;

/**
 *
 * @author ilaria.cavinato
 */
public class a3 {
    int a1 []=new int [3]; //array di tre interi
    int [] a2=new int [3]; //array di tre interi
    public static void main(String args[]) {
        /*inserire la media dei vostri voti*/
        double nums[]={10.1,11.2,12.3,13.4,14.5};
        double result=0;
        int i;
        for (i=0;i<5;i++)
        result=result+nums[1];
        System.out.println("avarage is"+result/5);
                
    }
}
